home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 August: Tool Chest / Dev.CD Aug 94.toast / Tool Chest / Games / Mac Game Developer's Handbook / Sound and Midi / Developer Tips - Sound < prev    next >
MacBinary  |  1993-04-22  |  10.9 KB  |  [ONLN/HLX2]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Thu Apr 22 06:40:48 1993, modified Thu Apr 22 06:40:48 1993, creator 'HLX2', type 'ONLN', 9834 bytes "Developer Tips - Sound" , at 0x26ea 1118 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[ONLN]
macFileCreator[HLX2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 16 44 65 76 65 6c 6f | 70 65 72 20 54 69 70 73 |..Develo|per Tips|
|00000010| 20 2d 20 53 6f 75 6e 64 | 00 00 00 00 00 00 00 00 | - Sound|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 00 26 6a 00 | 00 04 5e a7 fc 26 b0 a7 |.....&j.|..^..&..|
|00000060| fc 26 b0 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.&......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 5a 4f 00 00 |........|....ZO..|
|00000080| 44 65 76 65 6c 6f 70 65 | 72 20 54 69 70 73 20 2d |Develope|r Tips -|
|00000090| 20 53 6f 75 6e 64 20 61 | 6e 64 20 4d 49 44 49 20 | Sound a|nd MIDI |
|000000a0| 0d 52 6f 62 65 72 74 20 | 4d 63 4e 61 6c 6c 79 20 |.Robert |McNally |
|000000b0| 2d 20 50 47 41 20 54 6f | 75 72 20 47 6f 6c 66 0d |- PGA To|ur Golf.|
|000000c0| 53 69 6e 63 65 20 74 68 | 65 20 6f 72 69 67 69 6e |Since th|e origin|
|000000d0| 61 6c 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 50 47 |al versi|on of PG|
|000000e0| 41 20 54 6f 75 72 20 47 | 6f 6c 66 20 6f 6e 6c 79 |A Tour G|olf only|
|000000f0| 20 6d 61 64 65 20 62 65 | 65 70 73 2c 20 74 68 65 | made be|eps, the|
|00000100| 20 61 64 64 69 74 69 6f | 6e 20 6f 66 20 64 69 67 | additio|n of dig|
|00000110| 69 74 69 7a 65 64 20 73 | 6f 75 6e 64 20 28 69 6e |itized s|ound (in|
|00000120| 63 6c 75 64 69 6e 67 20 | 62 69 72 64 73 20 63 68 |cluding |birds ch|
|00000130| 69 72 70 69 6e 67 20 69 | 6e 20 74 68 65 20 62 61 |irping i|n the ba|
|00000140| 63 6b 67 72 6f 75 6e 64 | 20 61 6e 64 20 74 68 65 |ckground| and the|
|00000150| 20 63 72 6f 77 64 27 73 | 20 61 70 70 6c 61 75 73 | crowd's| applaus|
|00000160| 65 29 20 6d 61 64 65 20 | 74 68 65 20 4d 61 63 69 |e) made |the Maci|
|00000170| 6e 74 6f 73 68 20 76 65 | 72 73 69 6f 6e 20 6d 75 |ntosh ve|rsion mu|
|00000180| 63 68 20 6d 6f 72 65 20 | 69 6d 70 72 65 73 73 69 |ch more |impressi|
|00000190| 76 65 2e 0d 4d 6f 73 74 | 20 6f 66 20 74 68 65 20 |ve..Most| of the |
|000001a0| 73 6f 75 6e 64 73 20 69 | 6e 20 47 6f 6c 66 20 61 |sounds i|n Golf a|
|000001b0| 72 65 20 22 6f 6e 65 2d | 73 68 6f 74 22 2c 20 74 |re "one-|shot", t|
|000001c0| 68 61 74 20 69 73 2c 20 | 74 68 65 79 20 70 6c 61 |hat is, |they pla|
|000001d0| 79 20 6f 6e 63 65 20 61 | 6e 64 20 74 68 65 6e 20 |y once a|nd then |
|000001e0| 73 74 6f 70 2e 20 20 54 | 68 69 73 20 6d 61 64 65 |stop. T|his made|
|000001f0| 20 74 68 65 20 73 6f 75 | 6e 64 20 65 66 66 65 63 | the sou|nd effec|
|00000200| 74 73 20 66 61 69 72 6c | 79 20 65 61 73 79 20 74 |ts fairl|y easy t|
|00000210| 6f 20 64 6f 2e 20 20 4f | 6e 6c 79 20 74 68 65 20 |o do. O|nly the |
|00000220| 6d 75 73 69 63 20 64 75 | 72 69 6e 67 20 74 68 65 |music du|ring the|
|00000230| 20 73 74 61 72 74 75 70 | 20 61 6e 64 20 66 6c 79 | startup| and fly|
|00000240| 62 79 20 73 65 71 75 65 | 6e 63 65 73 20 68 61 64 |by seque|nces had|
|00000250| 20 74 6f 20 70 6c 61 79 | 20 63 6f 6e 74 69 6e 75 | to play| continu|
|00000260| 6f 75 73 6c 79 2c 20 61 | 6e 64 20 74 68 69 6e 67 |ously, a|nd thing|
|00000270| 73 20 77 65 72 65 20 6d | 61 64 65 20 73 69 6d 70 |s were m|ade simp|
|00000280| 6c 65 72 20 74 68 65 72 | 65 20 62 79 20 63 6f 6d |ler ther|e by com|
|00000290| 70 6f 73 69 6e 67 20 6d | 75 73 69 63 61 6c 20 73 |posing m|usical s|
|000002a0| 65 71 75 65 6e 63 65 73 | 20 6f 6e 20 61 20 73 79 |equences| on a sy|
|000002b0| 6e 74 68 65 73 69 7a 65 | 72 20 61 6e 64 20 74 68 |nthesize|r and th|
|000002c0| 65 6e 20 73 61 6d 70 6c | 69 6e 67 20 74 68 65 6d |en sampl|ing them|
|000002d0| 2e 20 20 54 68 65 73 65 | 20 77 65 72 65 20 74 68 |. These| were th|
|000002e0| 65 6e 20 6c 6f 6f 70 65 | 64 20 62 79 20 71 75 65 |en loope|d by que|
|000002f0| 75 69 6e 67 20 6e 75 6d | 65 72 6f 75 73 20 22 70 |uing num|erous "p|
|00000300| 6c 61 79 20 62 75 66 66 | 65 72 22 20 63 6f 6d 6d |lay buff|er" comm|
|00000310| 61 6e 64 73 20 74 6f 20 | 74 68 65 20 53 6f 75 6e |ands to |the Soun|
|00000320| 64 20 4d 61 6e 61 67 65 | 72 2e 0d 46 6f 72 20 61 |d Manage|r..For a|
|00000330| 64 64 69 74 69 6f 6e 61 | 6c 20 69 6e 66 6f 72 6d |dditiona|l inform|
|00000340| 61 74 69 6f 6e 20 6f 6e | 20 68 6f 77 20 74 6f 20 |ation on| how to |
|00000350| 63 6f 6e 74 61 63 74 20 | 52 6f 62 65 72 74 20 4d |contact |Robert M|
|00000360| 63 4e 61 6c 6c 79 20 6f | 66 20 54 68 65 20 44 72 |cNally o|f The Dr|
|00000370| 65 61 6d 65 72 73 20 47 | 75 69 6c 64 2c 20 70 6c |eamers G|uild, pl|
|00000380| 65 61 73 65 20 73 65 65 | 20 74 68 65 20 22 4d 61 |ease see| the "Ma|
|00000390| 63 69 6e 74 6f 73 68 20 | 47 61 6d 65 20 44 65 76 |cintosh |Game Dev|
|000003a0| 65 6c 6f 70 65 72 20 54 | 61 6c 65 6e 74 22 20 6c |eloper T|alent" l|
|000003b0| 69 73 74 69 6e 67 20 69 | 6e 20 74 68 65 20 44 65 |isting i|n the De|
|000003c0| 76 65 6c 6f 70 65 72 20 | 54 6f 6f 6c 73 2c 20 54 |veloper |Tools, T|
|000003d0| 61 6c 65 6e 74 20 61 6e | 64 20 54 72 61 69 6e 69 |alent an|d Traini|
|000003e0| 6e 67 20 73 65 63 74 69 | 6f 6e 2e 0d 53 61 6d 20 |ng secti|on..Sam |
|000003f0| 53 63 68 69 6c 6c 61 63 | 65 20 2d 20 53 70 65 63 |Schillac|e - Spec|
|00000400| 74 72 65 0d 41 20 4c 69 | 74 74 6c 65 20 42 61 63 |tre.A Li|ttle Bac|
|00000410| 6b 67 72 6f 75 6e 64 20 | 20 57 65 20 28 53 74 65 |kground | We (Ste|
|00000420| 76 65 20 4e 65 77 6d 61 | 6e 20 61 6e 64 20 53 61 |ve Newma|n and Sa|
|00000430| 6d 20 53 63 68 69 6c 6c | 61 63 65 29 20 77 72 6f |m Schill|ace) wro|
|00000440| 74 65 20 20 61 20 6e 65 | 74 77 6f 72 6b 2d 62 61 |te a ne|twork-ba|
|00000450| 73 65 64 20 67 61 6d 65 | 20 63 61 6c 6c 65 64 20 |sed game| called |
|00000460| 53 70 65 63 74 72 65 2e | 20 20 54 68 65 20 67 61 |Spectre.| The ga|
|00000470| 6d 65 20 69 73 20 76 65 | 72 79 20 66 61 73 74 20 |me is ve|ry fast |
|00000480| 70 61 63 65 64 2c 20 61 | 6e 64 20 76 65 72 79 20 |paced, a|nd very |
|00000490| 76 69 73 63 65 72 61 6c | 20 2d 20 73 6f 6d 65 20 |visceral| - some |
|000004a0| 70 65 6f 70 6c 65 20 63 | 61 6c 6c 20 69 74 20 61 |people c|all it a|
|000004b0| 20 73 69 6d 75 6c 61 74 | 69 6f 6e 2e 20 20 54 68 | simulat|ion. Th|
|000004c0| 65 20 61 6e 69 6d 61 74 | 69 6f 6e 2c 20 61 63 74 |e animat|ion, act|
|000004d0| 69 6f 6e 2c 20 61 6e 64 | 20 67 61 6d 65 70 6c 61 |ion, and| gamepla|
|000004e0| 79 20 61 72 65 20 61 6c | 6c 20 76 65 72 79 20 74 |y are al|l very t|
|000004f0| 69 67 68 74 20 61 6e 64 | 20 66 61 73 74 2e 20 20 |ight and| fast. |
|00000500| 49 74 20 77 61 73 20 69 | 6d 70 6f 72 74 61 6e 74 |It was i|mportant|
|00000510| 20 74 6f 20 75 73 20 74 | 68 61 74 20 74 68 65 20 | to us t|hat the |
|00000520| 67 61 6d 65 20 66 65 65 | 6c 20 72 65 61 6c 20 2d |game fee|l real -|
|00000530| 20 61 63 74 69 6f 6e 73 | 20 73 65 65 6e 20 6f 6e | actions| seen on|
|00000540| 20 74 68 65 20 73 63 72 | 65 65 6e 20 6e 65 65 64 | the scr|een need|
|00000550| 20 74 6f 20 68 61 76 65 | 20 72 65 61 6c 20 61 6e | to have| real an|
|00000560| 64 20 70 72 65 64 69 63 | 74 61 62 6c 65 20 65 66 |d predic|table ef|
|00000570| 66 65 63 74 73 20 69 6e | 20 74 68 65 20 67 61 6d |fects in| the gam|
|00000580| 65 2c 20 61 6e 64 20 74 | 68 65 20 67 61 6d 65 20 |e, and t|he game |
|00000590| 6e 65 65 64 73 20 74 6f | 20 67 69 76 65 20 76 65 |needs to| give ve|
|000005a0| 72 79 20 61 63 63 75 72 | 61 74 65 20 66 65 65 64 |ry accur|ate feed|
|000005b0| 62 61 63 6b 2e 20 20 41 | 73 20 69 73 20 75 73 75 |back. A|s is usu|
|000005c0| 61 6c 20 77 69 74 68 20 | 67 61 6d 65 20 64 65 73 |al with |game des|
|000005d0| 69 67 6e 65 72 73 2c 20 | 77 65 20 6e 65 76 65 72 |igners, |we never|
|000005e0| 20 66 65 65 6c 20 6c 69 | 6b 65 20 77 65 20 68 61 | feel li|ke we ha|
|000005f0| 76 65 20 65 6e 6f 75 67 | 68 20 68 61 72 64 77 61 |ve enoug|h hardwa|
|00000600| 72 65 20 74 6f 20 73 75 | 70 70 6f 72 74 20 74 68 |re to su|pport th|
|00000610| 65 20 67 61 6d 65 2e 20 | 20 54 68 69 73 20 63 61 |e game. | This ca|
|00000620| 75 73 65 64 20 63 6f 6d | 70 6c 69 63 61 74 69 6f |used com|plicatio|
|00000630| 6e 73 20 66 6f 72 20 75 | 73 20 69 6e 20 73 65 76 |ns for u|s in sev|
|00000640| 65 72 61 6c 20 61 72 65 | 61 73 2e 0d 53 6f 75 6e |eral are|as..Soun|
|00000650| 64 20 46 6c 65 78 69 62 | 69 6c 69 74 79 20 20 4f |d Flexib|ility O|
|00000660| 6e 65 20 70 6c 61 63 65 | 20 77 65 20 6e 65 65 64 |ne place| we need|
|00000670| 65 64 20 74 6f 20 62 65 | 20 66 6c 65 78 69 62 6c |ed to be| flexibl|
|00000680| 65 20 77 61 73 20 74 68 | 65 20 73 6f 75 6e 64 20 |e was th|e sound |
|00000690| 67 65 6e 65 72 61 74 69 | 6f 6e 20 63 6f 64 65 2e |generati|on code.|
|000006a0| 20 20 41 67 61 69 6e 2c | 20 73 69 6e 63 65 20 77 | Again,| since w|
|000006b0| 65 20 61 72 65 20 72 75 | 6e 6e 69 6e 67 20 61 20 |e are ru|nning a |
|000006c0| 27 72 65 61 6c 69 73 74 | 69 63 27 20 67 61 6d 65 |'realist|ic' game|
|000006d0| 2c 20 65 76 65 72 79 20 | 65 76 65 6e 74 20 69 6e |, every |event in|
|000006e0| 20 74 68 65 20 67 61 6d | 65 20 27 77 61 6e 74 73 | the gam|e 'wants|
|000006f0| 27 20 74 6f 20 62 65 20 | 61 63 63 6f 6d 70 61 6e |' to be |accompan|
|00000700| 69 65 64 20 62 79 20 61 | 20 73 6f 75 6e 64 2e 20 |ied by a| sound. |
|00000710| 20 55 6e 66 6f 72 74 75 | 6e 61 74 65 6c 79 2c 20 | Unfortu|nately, |
|00000720| 74 68 65 72 65 20 6a 75 | 73 74 20 69 73 6e 27 74 |there ju|st isn't|
|00000730| 20 65 6e 6f 75 67 68 20 | 74 69 6d 65 20 74 6f 20 | enough |time to |
|00000740| 70 6c 61 79 20 61 6c 6c | 20 74 68 61 74 20 73 6f |play all| that so|
|00000750| 75 6e 64 2e 20 20 4c 69 | 74 65 72 61 6c 6c 79 2c |und. Li|terally,|
|00000760| 20 77 65 20 27 77 61 6e | 74 27 20 74 6f 20 70 6c | we 'wan|t' to pl|
|00000770| 61 79 20 61 62 6f 75 74 | 20 74 68 72 65 65 20 74 |ay about| three t|
|00000780| 69 6d 65 73 20 61 73 20 | 6d 75 63 68 20 73 6f 75 |imes as |much sou|
|00000790| 6e 64 20 61 73 20 77 65 | 20 72 65 61 6c 6c 79 20 |nd as we| really |
|000007a0| 64 6f 20 70 6c 61 79 2e | 20 20 54 68 65 20 61 6e |do play.| The an|
|000007b0| 73 77 65 72 20 77 61 73 | 20 74 6f 20 77 72 69 74 |swer was| to writ|
|000007c0| 65 20 61 20 76 65 72 79 | 20 66 6c 65 78 69 62 6c |e a very| flexibl|
|000007d0| 65 2c 20 65 76 65 6e 74 | 2d 62 61 73 65 64 20 73 |e, event|-based s|
|000007e0| 6f 75 6e 64 20 73 79 73 | 74 65 6d 2e 20 20 57 68 |ound sys|tem. Wh|
|000007f0| 65 6e 20 77 65 20 77 61 | 6e 74 20 74 6f 20 70 6c |en we wa|nt to pl|
|00000800| 61 79 20 61 20 73 6f 75 | 6e 64 2c 20 74 68 65 20 |ay a sou|nd, the |
|00000810| 73 69 6d 75 6c 61 74 69 | 6f 6e 20 63 6f 64 65 20 |simulati|on code |
|00000820| 73 65 6e 64 73 20 61 6e | 20 65 76 65 6e 74 20 74 |sends an| event t|
|00000830| 6f 20 74 68 65 20 73 6f | 75 6e 64 20 63 6f 64 65 |o the so|und code|
|00000840| 20 22 49 20 77 6f 75 6c | 64 20 6c 69 6b 65 20 74 | "I woul|d like t|
|00000850| 6f 20 70 6c 61 79 20 74 | 68 69 73 20 73 6f 75 6e |o play t|his soun|
|00000860| 64 2c 20 61 74 20 74 68 | 69 73 20 74 69 6d 65 22 |d, at th|is time"|
|00000870| 2e 20 20 54 68 65 20 73 | 6f 75 6e 64 20 63 6f 64 |. The s|ound cod|
|00000880| 65 20 6c 6f 6f 6b 73 20 | 61 74 20 74 68 65 20 73 |e looks |at the s|
|00000890| 6f 75 6e 64 2c 20 61 6e | 64 20 6c 6f 6f 6b 73 20 |ound, an|d looks |
|000008a0| 61 74 20 77 68 61 74 20 | 69 73 20 63 75 72 72 65 |at what |is curre|
|000008b0| 6e 74 6c 79 20 70 6c 61 | 79 69 6e 67 2e 20 20 49 |ntly pla|ying. I|
|000008c0| 66 20 6e 6f 20 73 6f 75 | 6e 64 20 69 73 20 70 6c |f no sou|nd is pl|
|000008d0| 61 79 69 6e 67 2c 20 74 | 68 65 20 73 6f 75 6e 64 |aying, t|he sound|
|000008e0| 20 69 73 20 73 74 61 72 | 74 65 64 2e 20 20 49 66 | is star|ted. If|
|000008f0| 20 61 20 73 6f 75 6e 64 | 20 69 73 20 63 75 72 72 | a sound| is curr|
|00000900| 65 6e 74 6c 79 20 70 6c | 61 79 69 6e 67 2c 20 74 |ently pl|aying, t|
|00000910| 68 65 20 6e 65 77 20 73 | 6f 75 6e 64 20 69 73 20 |he new s|ound is |
|00000920| 70 75 74 20 69 6e 20 74 | 68 65 20 71 75 65 75 65 |put in t|he queue|
|00000930| 20 6f 66 20 73 6f 75 6e | 64 73 20 74 6f 20 62 65 | of soun|ds to be|
|00000940| 20 70 6c 61 79 65 64 2e | 20 20 54 68 65 20 73 6f | played.| The so|
|00000950| 75 6e 64 20 63 6f 64 65 | 20 65 76 61 6c 75 61 74 |und code| evaluat|
|00000960| 65 73 20 74 68 69 73 20 | 71 75 65 75 65 20 6f 6e |es this |queue on|
|00000970| 63 65 20 70 65 72 20 65 | 78 65 63 75 74 69 6f 6e |ce per e|xecution|
|00000980| 20 6f 66 20 74 68 65 20 | 6d 61 69 6e 20 6c 6f 6f | of the |main loo|
|00000990| 70 2c 20 61 6e 64 20 65 | 69 74 68 65 72 20 72 65 |p, and e|ither re|
|000009a0| 6d 6f 76 65 73 20 73 6f | 75 6e 64 73 20 69 6e 20 |moves so|unds in |
|000009b0| 69 74 20 74 68 61 74 20 | 61 72 65 20 74 6f 6f 20 |it that |are too |
|000009c0| 6f 6c 64 2c 20 6f 72 20 | 69 6e 74 65 72 72 75 70 |old, or |interrup|
|000009d0| 74 73 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 73 |ts the c|urrent s|
|000009e0| 6f 75 6e 64 73 20 77 69 | 74 68 20 6d 6f 72 65 20 |ounds wi|th more |
|000009f0| 69 6d 70 6f 72 74 61 6e | 74 20 6f 6e 65 73 20 28 |importan|t ones (|
|00000a00| 6f 72 20 73 74 61 72 74 | 73 20 6e 65 77 20 6f 6e |or start|s new on|
|00000a10| 65 73 20 77 68 65 6e 20 | 74 68 65 20 6f 6c 64 20 |es when |the old |
|00000a20| 6f 6e 65 73 20 68 61 76 | 65 20 66 69 6e 69 73 68 |ones hav|e finish|
|00000a30| 65 64 20 70 6c 61 79 69 | 6e 67 29 2e 0d 41 20 73 |ed playi|ng)..A s|
|00000a40| 6f 75 6e 64 20 68 61 73 | 20 74 68 72 65 65 20 70 |ound has| three p|
|00000a50| 72 6f 70 65 72 74 69 65 | 73 3a 20 63 6f 6d 6d 69 |ropertie|s: commi|
|00000a60| 74 2c 20 70 72 69 6f 72 | 69 74 79 2c 20 61 6e 64 |t, prior|ity, and|
|00000a70| 20 70 65 72 73 69 73 74 | 65 6e 63 65 2e 20 20 43 | persist|ence. C|
|00000a80| 6f 6d 6d 69 74 20 69 73 | 20 68 6f 77 20 6c 6f 6e |ommit is| how lon|
|00000a90| 67 20 74 68 65 20 73 6f | 75 6e 64 20 6e 65 65 64 |g the so|und need|
|00000aa0| 73 20 74 6f 20 62 65 20 | 70 6c 61 79 65 64 20 6f |s to be |played o|
|00000ab0| 6e 63 65 20 69 74 20 69 | 73 20 73 74 61 72 74 65 |nce it i|s starte|
|00000ac0| 64 20 74 6f 20 6d 61 6b | 65 20 61 6e 79 20 73 65 |d to mak|e any se|
|00000ad0| 6e 73 65 2e 20 20 50 72 | 69 6f 72 69 74 79 20 69 |nse. Pr|iority i|
|00000ae0| 73 20 68 6f 77 20 69 6d | 70 6f 72 74 61 6e 74 20 |s how im|portant |
|00000af0| 74 68 65 20 73 6f 75 6e | 64 20 69 73 2e 20 20 50 |the soun|d is. P|
|00000b00| 65 72 73 69 73 74 65 6e | 63 65 20 69 73 20 68 6f |ersisten|ce is ho|
|00000b10| 77 20 6c 6f 6e 67 20 74 | 68 65 20 73 6f 75 6e 64 |w long t|he sound|
|00000b20| 20 73 74 69 6c 6c 20 6d | 61 6b 65 73 20 73 65 6e | still m|akes sen|
|00000b30| 73 65 20 66 6f 72 2c 20 | 61 66 74 65 72 20 74 68 |se for, |after th|
|00000b40| 65 20 69 6e 69 74 69 61 | 6c 20 72 65 71 75 65 73 |e initia|l reques|
|00000b50| 74 2e 20 20 41 66 74 65 | 72 20 74 68 69 73 20 61 |t. Afte|r this a|
|00000b60| 6d 6f 75 6e 74 20 6f 66 | 20 74 69 6d 65 2c 20 74 |mount of| time, t|
|00000b70| 68 65 20 73 6f 75 6e 64 | 20 77 69 6c 6c 20 6e 6f |he sound| will no|
|00000b80| 74 20 62 65 20 70 6c 61 | 79 65 64 2e 0d 54 68 65 |t be pla|yed..The|
|00000b90| 73 65 20 70 72 6f 70 65 | 72 74 69 65 73 20 61 72 |se prope|rties ar|
|00000ba0| 65 20 73 65 74 20 66 6f | 72 20 75 73 20 61 74 20 |e set fo|r us at |
|00000bb0| 63 6f 6d 70 69 6c 65 2d | 74 69 6d 65 2c 20 62 75 |compile-|time, bu|
|00000bc0| 74 20 77 65 20 61 6c 6c | 6f 77 20 72 75 6e 2d 74 |t we all|ow run-t|
|00000bd0| 69 6d 65 20 6f 76 65 72 | 72 69 64 65 73 2e 20 20 |ime over|rides. |
|00000be0| 28 63 65 72 74 61 69 6e | 20 61 6c 61 72 6d 73 20 |(certain| alarms |
|00000bf0| 6d 61 79 20 62 65 20 6d | 6f 72 65 20 69 6d 70 6f |may be m|ore impo|
|00000c00| 72 74 61 6e 74 20 75 6e | 64 65 72 20 63 65 72 74 |rtant un|der cert|
|00000c10| 61 69 6e 20 20 63 6f 6e | 64 69 74 69 6f 6e 73 2c |ain con|ditions,|
|00000c20| 20 65 74 63 2e 29 2e 20 | 20 54 68 65 20 65 76 61 | etc.). | The eva|
|00000c30| 6c 75 61 74 69 6f 6e 20 | 6f 66 20 77 68 65 74 68 |luation |of wheth|
|00000c40| 65 72 20 74 6f 20 69 6e | 74 65 72 72 75 70 74 20 |er to in|terrupt |
|00000c50| 61 20 73 6f 75 6e 64 20 | 69 73 20 73 69 6d 70 6c |a sound |is simpl|
|00000c60| 65 3a 20 69 66 20 74 68 | 65 20 73 6f 75 6e 64 20 |e: if th|e sound |
|00000c70| 70 6c 61 79 69 6e 67 20 | 69 73 20 70 61 73 74 20 |playing |is past |
|00000c80| 74 68 65 20 63 6f 6d 6d | 69 74 20 73 74 61 67 65 |the comm|it stage|
|00000c90| 20 28 69 74 20 68 61 73 | 20 70 6c 61 79 65 64 20 | (it has| played |
|00000ca0| 6c 6f 6e 67 20 65 6e 6f | 75 67 68 20 74 6f 20 6d |long eno|ugh to m|
|00000cb0| 61 6b 65 20 73 65 6e 73 | 65 29 2c 20 61 6e 64 20 |ake sens|e), and |
|00000cc0| 74 68 65 72 65 20 69 73 | 20 61 20 73 6f 75 6e 64 |there is| a sound|
|00000cd0| 20 69 6e 20 74 68 65 20 | 71 75 65 75 65 20 74 68 | in the |queue th|
|00000ce0| 61 74 20 68 61 73 6e 27 | 74 20 65 78 70 69 72 65 |at hasn'|t expire|
|00000cf0| 64 20 79 65 74 20 61 6e | 64 20 69 73 20 6f 66 20 |d yet an|d is of |
|00000d00| 68 69 67 68 65 72 20 70 | 72 69 6f 72 69 74 79 2c |higher p|riority,|
|00000d10| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 73 6f 75 | the cur|rent sou|
|00000d20| 6e 64 20 69 73 20 69 6e | 74 65 72 72 75 70 74 65 |nd is in|terrupte|
|00000d30| 64 2c 20 61 6e 64 20 74 | 68 65 20 6e 65 77 20 73 |d, and t|he new s|
|00000d40| 6f 75 6e 64 20 69 73 20 | 70 6c 61 79 65 64 2e 20 |ound is |played. |
|00000d50| 20 53 6f 75 6e 64 73 20 | 61 72 65 20 6b 69 63 6b | Sounds |are kick|
|00000d60| 65 64 20 6f 75 74 20 6f | 66 20 74 68 65 20 71 75 |ed out o|f the qu|
|00000d70| 65 75 65 20 77 68 65 6e | 20 74 68 65 79 20 72 75 |eue when| they ru|
|00000d80| 6e 20 70 61 73 74 20 74 | 68 65 69 72 20 70 65 72 |n past t|heir per|
|00000d90| 73 69 73 74 65 6e 63 65 | 20 74 69 6d 65 2e 20 20 |sistence| time. |
|00000da0| 49 66 20 74 77 6f 20 73 | 6f 75 6e 64 73 20 69 6e |If two s|ounds in|
|00000db0| 20 74 68 65 20 71 75 65 | 75 65 20 68 61 76 65 20 | the que|ue have |
|00000dc0| 74 68 65 20 73 61 6d 65 | 20 70 72 69 6f 72 69 74 |the same| priorit|
|00000dd0| 79 2c 20 74 68 65 20 6f | 6e 65 20 77 69 74 68 20 |y, the o|ne with |
|00000de0| 74 68 65 20 70 6f 73 74 | 69 6e 67 20 69 73 20 74 |the post|ing is t|
|00000df0| 61 6b 65 6e 20 66 69 72 | 73 74 2c 20 61 6c 74 68 |aken fir|st, alth|
|00000e00| 6f 75 67 68 20 74 68 69 | 73 20 69 73 20 61 72 62 |ough thi|s is arb|
|00000e10| 69 74 72 61 72 79 20 2d | 20 79 6f 75 20 63 61 6e |itrary -| you can|
|00000e20| 20 61 6c 73 6f 20 74 61 | 6b 65 20 74 68 65 20 6f | also ta|ke the o|
|00000e30| 6e 65 20 77 68 6f 20 77 | 69 6c 6c 20 65 78 70 69 |ne who w|ill expi|
|00000e40| 72 65 20 66 69 72 73 74 | 20 28 77 68 69 63 68 20 |re first| (which |
|00000e50| 69 73 20 75 73 75 61 6c | 6c 79 20 74 68 65 20 73 |is usual|ly the s|
|00000e60| 61 6d 65 20 6f 6e 65 29 | 2e 0d 54 68 69 73 20 73 |ame one)|..This s|
|00000e70| 65 65 6d 73 20 74 6f 20 | 77 6f 72 6b 20 70 72 65 |eems to |work pre|
|00000e80| 74 74 79 20 77 65 6c 6c | 20 2d 20 74 68 65 20 73 |tty well| - the s|
|00000e90| 6f 75 6e 64 20 63 6f 64 | 65 20 64 6f 65 73 6e 27 |ound cod|e doesn'|
|00000ea0| 74 20 73 74 61 72 74 2d | 61 6e 64 2d 73 74 6f 70 |t start-|and-stop|
|00000eb0| 20 61 20 6c 6f 74 2c 20 | 6e 6f 72 20 64 6f 65 73 | a lot, |nor does|
|00000ec0| 20 69 74 20 72 75 6e 20 | 6f 6e 20 77 69 74 68 20 | it run |on with |
|00000ed0| 61 20 6c 61 72 67 65 20 | 71 75 65 75 65 20 6f 66 |a large |queue of|
|00000ee0| 20 73 6f 75 6e 64 73 20 | 6c 6f 6e 67 20 61 66 74 | sounds |long aft|
|00000ef0| 65 72 20 61 20 70 61 72 | 74 69 63 75 6c 61 72 6c |er a par|ticularl|
|00000f00| 79 20 68 65 61 74 65 64 | 20 6d 65 6c 65 65 2c 20 |y heated| melee, |
|00000f10| 61 6e 64 20 69 74 20 69 | 73 20 70 72 65 74 74 79 |and it i|s pretty|
|00000f20| 20 65 61 73 79 20 74 6f | 20 74 75 6e 65 20 74 68 | easy to| tune th|
|00000f30| 65 20 70 72 69 6f 72 69 | 74 69 65 73 20 73 6f 20 |e priori|ties so |
|00000f40| 74 68 61 74 20 79 6f 75 | 20 77 69 6e 64 20 75 70 |that you| wind up|
|00000f50| 20 6c 69 73 74 65 6e 69 | 6e 67 20 74 6f 20 74 68 | listeni|ng to th|
|00000f60| 65 20 72 69 67 68 74 20 | 74 68 69 6e 67 73 20 6d |e right |things m|
|00000f70| 6f 73 74 20 6f 66 20 74 | 68 65 20 74 69 6d 65 2e |ost of t|he time.|
|00000f80| 0d 4f 6e 20 74 68 65 20 | 61 74 74 61 63 68 65 64 |.On the |attached|
|00000f90| 20 70 61 67 65 20 49 20 | 68 61 76 65 20 77 72 69 | page I |have wri|
|00000fa0| 74 74 65 6e 20 73 6f 6d | 65 20 73 61 6d 70 6c 65 |tten som|e sample|
|00000fb0| 20 63 6f 64 65 20 66 6f | 72 20 65 76 65 6e 74 2d | code fo|r event-|
|00000fc0| 62 61 73 65 64 20 73 6f | 75 6e 64 20 65 76 65 6e |based so|und even|
|00000fd0| 74 73 2e 0d 10 a8 00 00 | 00 00 02 d7 02 23 00 11 |ts......|.....#..|
|00000fe0| 02 ff 0c 00 ff ff ff ff | 00 00 00 00 00 00 00 00 |........|........|
|00000ff0| 02 23 00 00 02 d7 00 00 | 00 00 00 00 00 0c 00 1e |.#......|........|
|00001000| 00 1f 00 01 00 0a 00 00 | 00 00 03 18 02 64 00 2c |........|.....d.,|
|00001010| 00 08 00 14 05 54 69 6d | 65 73 00 03 00 14 00 04 |.....Tim|es......|
|00001020| 03 00 00 0d 00 24 00 2e | 00 04 00 00 ff 00 00 a1 |.....$..|........|
|00001030| 00 64 00 10 4f 4e 4c 4e | 00 64 00 00 00 29 00 2a |.d..ONLN|.d...).*|
|00001040| 00 4d 01 c8 00 2b 48 63 | 1a 44 65 76 65 6c 6f 70 |.M...+Hc|.Develop|
|00001050| 65 72 20 54 69 70 73 20 | 2d 20 53 6f 75 6e 64 20 |er Tips |- Sound |
|00001060| 61 6e 64 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |and....d|..ONLN.d|
|00001070| 00 1b 00 4d 00 2a 00 71 | 00 80 00 2a 24 04 4d 49 |...M.*.q|...*$.MI|
|00001080| 44 49 00 04 07 00 00 0d | 00 0e 00 a1 00 64 00 10 |DI......|.....d..|
|00001090| 4f 4e 4c 4e 00 64 00 21 | 00 95 00 2a 00 a3 00 eb |ONLN.d.!|...*....|
|000010a0| 00 2a 38 1e 52 6f 62 65 | 72 74 20 4d 63 4e 61 6c |.*8.Robe|rt McNal|
|000010b0| 6c 79 20 2d 20 50 47 41 | 20 54 6f 75 72 20 47 6f |ly - PGA| Tour Go|
|000010c0| 6c 66 00 04 00 00 00 0d | 00 0c 00 06 00 01 20 c4 |lf......|...... .|
|000010d0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 00 40 00 af |...d..ON|LN.d.@..|
|000010e0| 00 2a 00 bb 01 fd 00 2a | 18 5c 53 69 6e 63 65 20 |.*.....*|.\Since |
|000010f0| 74 68 65 20 6f 72 69 67 | 69 6e 61 6c 20 76 65 72 |the orig|inal ver|
|00001100| 73 69 6f 6e 20 6f 66 20 | 50 47 41 20 54 6f 75 72 |sion of |PGA Tour|
|00001110| 20 47 6f 6c 66 20 6f 6e | 6c 79 20 6d 61 64 65 20 | Golf on|ly made |
|00001120| 62 65 65 70 73 2c 20 74 | 68 65 20 61 64 64 69 74 |beeps, t|he addit|
|00001130| 69 6f 6e 20 6f 66 20 64 | 69 67 69 74 69 7a 65 64 |ion of d|igitized|
|00001140| 20 73 6f 75 6e 64 00 06 | 00 02 9e f5 00 a1 00 64 | sound..|.......d|
|00001150| 00 10 4f 4e 4c 4e 00 64 | 00 9d 00 bb 00 2a 00 c7 |..ONLN.d|.....*..|
|00001160| 01 fd 00 2a 0c 58 28 69 | 6e 63 6c 75 64 69 6e 67 |...*.X(i|ncluding|
|00001170| 20 62 69 72 64 73 20 63 | 68 69 72 70 69 6e 67 20 | birds c|hirping |
|00001180| 69 6e 20 74 68 65 20 62 | 61 63 6b 67 72 6f 75 6e |in the b|ackgroun|
|00001190| 64 20 61 6e 64 20 74 68 | 65 20 63 72 6f 77 64 27 |d and th|e crowd'|
|000011a0| 73 20 61 70 70 6c 61 75 | 73 65 29 20 6d 61 64 65 |s applau|se) made|
|000011b0| 20 74 68 65 20 4d 61 63 | 69 6e 74 6f 73 68 00 06 | the Mac|intosh..|
|000011c0| 00 00 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|000011d0| 00 f6 00 c7 00 2a 00 d3 | 00 c0 00 2a 0c 1d 76 65 |.....*..|...*..ve|
|000011e0| 72 73 69 6f 6e 20 6d 75 | 63 68 20 6d 6f 72 65 20 |rsion mu|ch more |
|000011f0| 69 6d 70 72 65 73 73 69 | 76 65 2e 00 00 06 00 00 |impressi|ve......|
|00001200| 9e d0 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 01 14 |.....d..|ONLN.d..|
|00001210| 00 df 00 2a 00 eb 01 fd | 00 2a 18 60 4d 6f 73 74 |...*....|.*.`Most|
|00001220| 20 6f 66 20 74 68 65 20 | 73 6f 75 6e 64 73 20 69 | of the |sounds i|
|00001230| 6e 20 47 6f 6c 66 20 61 | 72 65 20 22 6f 6e 65 2d |n Golf a|re "one-|
|00001240| 73 68 6f 74 22 2c 20 74 | 68 61 74 20 69 73 2c 20 |shot", t|hat is, |
|00001250| 74 68 65 79 20 70 6c 61 | 79 20 6f 6e 63 65 20 61 |they pla|y once a|
|00001260| 6e 64 20 74 68 65 6e 20 | 73 74 6f 70 2e 20 20 54 |nd then |stop. T|
|00001270| 68 69 73 20 6d 61 64 65 | 20 74 68 65 00 06 00 01 |his made| the....|
|00001280| 31 5a 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 01 75 |1Z...d..|ONLN.d.u|
|00001290| 00 eb 00 2a 00 f7 01 fd | 00 2a 0c 5e 73 6f 75 6e |...*....|.*.^soun|
|000012a0| 64 20 65 66 66 65 63 74 | 73 20 66 61 69 72 6c 79 |d effect|s fairly|
|000012b0| 20 65 61 73 79 20 74 6f | 20 64 6f 2e 20 20 4f 6e | easy to| do. On|
|000012c0| 6c 79 20 74 68 65 20 6d | 75 73 69 63 20 64 75 72 |ly the m|usic dur|
|000012d0| 69 6e 67 20 74 68 65 20 | 73 74 61 72 74 75 70 20 |ing the |startup |
|000012e0| 61 6e 64 20 66 6c 79 62 | 79 20 73 65 71 75 65 6e |and flyb|y sequen|
|000012f0| 63 65 73 20 68 61 64 20 | 74 6f 00 06 00 01 75 00 |ces had |to....u.|
|00001300| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 01 d4 00 f7 |...d..ON|LN.d....|
|00001310| 00 2a 01 03 01 fd 00 2a | 0c 59 70 6c 61 79 20 63 |.*.....*|.Yplay c|
|00001320| 6f 6e 74 69 6e 75 6f 75 | 73 6c 79 2c 20 61 6e 64 |ontinuou|sly, and|
|00001330| 20 74 68 69 6e 67 73 20 | 77 65 72 65 20 6d 61 64 | things |were mad|
|00001340| 65 20 73 69 6d 70 6c 65 | 72 20 74 68 65 72 65 20 |e simple|r there |
|00001350| 62 79 20 63 6f 6d 70 6f | 73 69 6e 67 20 6d 75 73 |by compo|sing mus|
|00001360| 69 63 61 6c 20 73 65 71 | 75 65 6e 63 65 73 20 6f |ical seq|uences o|
|00001370| 6e 20 61 00 00 06 ff ff | f6 c0 00 a1 00 64 00 10 |n a.....|.....d..|
|00001380| 4f 4e 4c 4e 00 64 02 2e | 01 03 00 2a 01 0f 01 fd |ONLN.d..|...*....|
|00001390| 00 2a 0c 5d 73 79 6e 74 | 68 65 73 69 7a 65 72 20 |.*.]synt|hesizer |
|000013a0| 61 6e 64 20 74 68 65 6e | 20 73 61 6d 70 6c 69 6e |and then| samplin|
|000013b0| 67 20 74 68 65 6d 2e 20 | 20 54 68 65 73 65 20 77 |g them. | These w|
|000013c0| 65 72 65 20 74 68 65 6e | 20 6c 6f 6f 70 65 64 20 |ere then| looped |
|000013d0| 62 79 20 71 75 65 75 69 | 6e 67 20 6e 75 6d 65 72 |by queui|ng numer|
|000013e0| 6f 75 73 20 22 70 6c 61 | 79 20 62 75 66 66 65 72 |ous "pla|y buffer|
|000013f0| 22 00 00 06 00 00 00 00 | 00 a1 00 64 00 10 4f 4e |".......|...d..ON|
|00001400| 4c 4e 00 64 02 8c 01 0f | 00 2a 01 1b 00 ce 00 2a |LN.d....|.*.....*|
|00001410| 0c 1e 63 6f 6d 6d 61 6e | 64 73 20 74 6f 20 74 68 |..comman|ds to th|
|00001420| 65 20 53 6f 75 6e 64 20 | 4d 61 6e 61 67 65 72 2e |e Sound |Manager.|
|00001430| 00 04 02 00 00 06 ff ff | f1 9c 00 a1 00 64 00 10 |........|.....d..|
|00001440| 4f 4e 4c 4e 00 64 02 ab | 01 27 00 2a 01 33 01 fd |ONLN.d..|.'.*.3..|
|00001450| 00 2a 18 5d 46 6f 72 20 | 61 64 64 69 74 69 6f 6e |.*.]For |addition|
|00001460| 61 6c 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 6f |al infor|mation o|
|00001470| 6e 20 68 6f 77 20 74 6f | 20 63 6f 6e 74 61 63 74 |n how to| contact|
|00001480| 20 52 6f 62 65 72 74 20 | 4d 63 4e 61 6c 6c 79 20 | Robert |McNally |
|00001490| 6f 66 20 54 68 65 20 44 | 72 65 61 6d 65 72 73 20 |of The D|reamers |
|000014a0| 47 75 69 6c 64 2c 20 70 | 6c 65 61 73 65 20 73 65 |Guild, p|lease se|
|000014b0| 65 00 00 06 00 01 df 55 | 00 a1 00 64 00 10 4f 4e |e......U|...d..ON|
|000014c0| 4c 4e 00 64 03 09 01 33 | 00 2a 01 3f 01 fd 00 2a |LN.d...3|.*.?...*|
|000014d0| 0c 59 74 68 65 20 22 4d | 61 63 69 6e 74 6f 73 68 |.Ythe "M|acintosh|
|000014e0| 20 47 61 6d 65 20 44 65 | 76 65 6c 6f 70 65 72 20 | Game De|veloper |
|000014f0| 54 61 6c 65 6e 74 22 20 | 6c 69 73 74 69 6e 67 20 |Talent" |listing |
|00001500| 69 6e 20 74 68 65 20 44 | 65 76 65 6c 6f 70 65 72 |in the D|eveloper|
|00001510| 20 54 6f 6f 6c 73 2c 20 | 54 61 6c 65 6e 74 20 61 | Tools, |Talent a|
|00001520| 6e 64 20 54 72 61 69 6e | 69 6e 67 00 00 06 00 00 |nd Train|ing.....|
|00001530| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 03 63 |.....d..|ONLN.d.c|
|00001540| 01 3f 00 2a 01 4b 00 4e | 00 2a 0c 08 73 65 63 74 |.?.*.K.N|.*..sect|
|00001550| 69 6f 6e 2e 00 04 07 00 | 00 0d 00 0e 00 a1 00 64 |ion.....|.......d|
|00001560| 00 10 4f 4e 4c 4e 00 64 | 03 6c 01 63 00 2a 01 71 |..ONLN.d|.l.c.*.q|
|00001570| 00 b2 00 2a 26 17 53 61 | 6d 20 53 63 68 69 6c 6c |...*&.Sa|m Schill|
|00001580| 61 63 65 20 2d 20 53 70 | 65 63 74 72 65 00 00 04 |ace - Sp|ectre...|
|00001590| 01 00 00 0d 00 0c 00 06 | 00 01 5a 92 00 a1 00 64 |........|..Z....d|
|000015a0| 00 10 4f 4e 4c 4e 00 64 | 03 84 01 7f 00 2a 01 8b |..ONLN.d|.....*..|
|000015b0| 00 9f 00 2a 1a 15 41 20 | 4c 69 74 74 6c 65 20 42 |...*..A |Little B|
|000015c0| 61 63 6b 67 72 6f 75 6e | 64 20 20 00 00 04 00 00 |ackgroun|d .....|
|000015d0| 00 15 ec 48 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |...H...d|..ONLN.d|
|000015e0| 03 99 01 7f 00 9f 01 8b | 01 fd 00 29 75 3f 57 65 |........|...)u?We|
|000015f0| 20 28 53 74 65 76 65 20 | 4e 65 77 6d 61 6e 20 61 | (Steve |Newman a|
|00001600| 6e 64 20 53 61 6d 20 53 | 63 68 69 6c 6c 61 63 65 |nd Sam S|chillace|
|00001610| 29 20 77 72 6f 74 65 20 | 20 61 20 6e 65 74 77 6f |) wrote | a netwo|
|00001620| 72 6b 2d 62 61 73 65 64 | 20 67 61 6d 65 00 00 06 |rk-based| game...|
|00001630| 00 00 2f 8e 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |../....d|..ONLN.d|
|00001640| 03 d9 01 8b 00 2a 01 97 | 01 fd 00 28 01 b3 00 48 |.....*..|...(...H|
|00001650| 63 63 61 6c 6c 65 64 20 | 53 70 65 63 74 72 65 2e |ccalled |Spectre.|
|00001660| 20 20 54 68 65 20 67 61 | 6d 65 20 69 73 20 76 65 | The ga|me is ve|
|00001670| 72 79 20 66 61 73 74 20 | 70 61 63 65 64 2c 20 61 |ry fast |paced, a|
|00001680| 6e 64 20 76 65 72 79 20 | 76 69 73 63 65 72 61 6c |nd very |visceral|
|00001690| 20 2d 20 73 6f 6d 65 20 | 70 65 6f 70 6c 65 20 63 | - some |people c|
|000016a0| 61 6c 6c 20 69 74 20 61 | 20 73 69 6d 75 6c 61 74 |all it a| simulat|
|000016b0| 69 6f 6e 2e 00 06 00 00 | d0 23 00 a1 00 64 00 10 |ion.....|.#...d..|
|000016c0| 4f 4e 4c 4e 00 64 04 3e | 01 97 00 2a 01 a3 01 fd |ONLN.d.>|...*....|
|000016d0| 00 2a 0c 61 54 68 65 20 | 61 6e 69 6d 61 74 69 6f |.*.aThe |animatio|
|000016e0| 6e 2c 20 61 63 74 69 6f | 6e 2c 20 61 6e 64 20 67 |n, actio|n, and g|
|000016f0| 61 6d 65 70 6c 61 79 20 | 61 72 65 20 61 6c 6c 20 |ameplay |are all |
|00001700| 76 65 72 79 20 74 69 67 | 68 74 20 61 6e 64 20 66 |very tig|ht and f|
|00001710| 61 73 74 2e 20 20 49 74 | 20 77 61 73 20 69 6d 70 |ast. It| was imp|
|00001720| 6f 72 74 61 6e 74 20 74 | 6f 20 75 73 20 74 68 61 |ortant t|o us tha|
|00001730| 74 20 74 68 65 00 00 06 | 00 00 5f b8 00 a1 00 64 |t the...|.._....d|
|00001740| 00 10 4f 4e 4c 4e 00 64 | 04 a0 01 a3 00 2a 01 af |..ONLN.d|.....*..|
|00001750| 01 fd 00 2a 0c 62 67 61 | 6d 65 20 66 65 65 6c 20 |...*.bga|me feel |
|00001760| 72 65 61 6c 20 2d 20 61 | 63 74 69 6f 6e 73 20 73 |real - a|ctions s|
|00001770| 65 65 6e 20 6f 6e 20 74 | 68 65 20 73 63 72 65 65 |een on t|he scree|
|00001780| 6e 20 6e 65 65 64 20 74 | 6f 20 68 61 76 65 20 72 |n need t|o have r|
|00001790| 65 61 6c 20 61 6e 64 20 | 70 72 65 64 69 63 74 61 |eal and |predicta|
|000017a0| 62 6c 65 20 65 66 66 65 | 63 74 73 20 69 6e 20 74 |ble effe|cts in t|
|000017b0| 68 65 20 67 61 6d 65 2c | 00 06 00 00 a0 bc 00 a1 |he game,|........|
|000017c0| 00 64 00 10 4f 4e 4c 4e | 00 64 05 03 01 af 00 2a |.d..ONLN|.d.....*|
|000017d0| 01 bb 01 fd 00 2a 0c 5d | 61 6e 64 20 74 68 65 20 |.....*.]|and the |
|000017e0| 67 61 6d 65 20 6e 65 65 | 64 73 20 74 6f 20 67 69 |game nee|ds to gi|
|000017f0| 76 65 20 76 65 72 79 20 | 61 63 63 75 72 61 74 65 |ve very |accurate|
|00001800| 20 66 65 65 64 62 61 63 | 6b 2e 20 20 41 73 20 69 | feedbac|k. As i|
|00001810| 73 20 75 73 75 61 6c 20 | 77 69 74 68 20 67 61 6d |s usual |with gam|
|00001820| 65 20 64 65 73 69 67 6e | 65 72 73 2c 20 77 65 20 |e design|ers, we |
|00001830| 6e 65 76 65 72 00 00 06 | 00 01 6a 38 00 a1 00 64 |never...|..j8...d|
|00001840| 00 10 4f 4e 4c 4e 00 64 | 05 61 01 bb 00 2a 01 c7 |..ONLN.d|.a...*..|
|00001850| 01 fd 00 2a 0c 5b 66 65 | 65 6c 20 6c 69 6b 65 20 |...*.[fe|el like |
|00001860| 77 65 20 68 61 76 65 20 | 65 6e 6f 75 67 68 20 68 |we have |enough h|
|00001870| 61 72 64 77 61 72 65 20 | 74 6f 20 73 75 70 70 6f |ardware |to suppo|
|00001880| 72 74 20 74 68 65 20 67 | 61 6d 65 2e 20 20 54 68 |rt the g|ame. Th|
|00001890| 69 73 20 63 61 75 73 65 | 64 20 63 6f 6d 70 6c 69 |is cause|d compli|
|000018a0| 63 61 74 69 6f 6e 73 20 | 66 6f 72 20 75 73 20 69 |cations |for us i|
|000018b0| 6e 00 00 06 00 00 00 00 | 00 a1 00 64 00 10 4f 4e |n.......|...d..ON|
|000018c0| 4c 4e 00 64 05 bd 01 c7 | 00 2a 01 d3 00 6a 00 2a |LN.d....|.*...j.*|
|000018d0| 0c 0e 73 65 76 65 72 61 | 6c 20 61 72 65 61 73 2e |..severa|l areas.|
|000018e0| 00 04 01 00 00 06 00 00 | d9 c0 00 a1 00 64 00 10 |........|.....d..|
|000018f0| 4f 4e 4c 4e 00 64 05 cc | 01 df 00 2a 01 eb 00 82 |ONLN.d..|...*....|
|00001900| 00 2a 18 11 53 6f 75 6e | 64 20 46 6c 65 78 69 62 |.*..Soun|d Flexib|
|00001910| 69 6c 69 74 79 00 00 04 | 00 00 00 15 0a c0 00 a1 |ility...|........|
|00001920| 00 64 00 10 4f 4e 4c 4e | 00 64 05 dd 01 df 00 83 |.d..ONLN|.d......|
|00001930| 01 eb 01 fd 00 29 59 4b | 20 20 4f 6e 65 20 70 6c |.....)YK| One pl|
|00001940| 61 63 65 20 77 65 20 6e | 65 65 64 65 64 20 74 6f |ace we n|eeded to|
|00001950| 20 62 65 20 66 6c 65 78 | 69 62 6c 65 20 77 61 73 | be flex|ible was|
|00001960| 20 74 68 65 20 73 6f 75 | 6e 64 20 67 65 6e 65 72 | the sou|nd gener|
|00001970| 61 74 69 6f 6e 20 63 6f | 64 65 2e 20 20 41 67 61 |ation co|de. Aga|
|00001980| 69 6e 2c 00 00 06 00 00 | c4 4b 00 a1 00 64 00 10 |in,.....|.K...d..|
|00001990| 4f 4e 4c 4e 00 64 06 29 | 01 eb 00 2a 01 f7 01 fd |ONLN.d.)|...*....|
|000019a0| 00 28 02 13 00 48 5f 73 | 69 6e 63 65 20 77 65 20 |.(...H_s|ince we |
|000019b0| 61 72 65 20 72 75 6e 6e | 69 6e 67 20 61 20 27 72 |are runn|ing a 'r|
|000019c0| 65 61 6c 69 73 74 69 63 | 27 20 67 61 6d 65 2c 20 |ealistic|' game, |
|000019d0| 65 76 65 72 79 20 65 76 | 65 6e 74 20 69 6e 20 74 |every ev|ent in t|
|000019e0| 68 65 20 67 61 6d 65 20 | 27 77 61 6e 74 73 27 20 |he game |'wants' |
|000019f0| 74 6f 20 62 65 20 61 63 | 63 6f 6d 70 61 6e 69 65 |to be ac|companie|
|00001a00| 64 20 62 79 20 61 00 06 | 00 00 98 16 00 a1 00 64 |d by a..|.......d|
|00001a10| 00 10 4f 4e 4c 4e 00 64 | 06 89 01 f7 00 2a 02 03 |..ONLN.d|.....*..|
|00001a20| 01 fd 00 2a 0c 64 73 6f | 75 6e 64 2e 20 20 55 6e |...*.dso|und. Un|
|00001a30| 66 6f 72 74 75 6e 61 74 | 65 6c 79 2c 20 74 68 65 |fortunat|ely, the|
|00001a40| 72 65 20 6a 75 73 74 20 | 69 73 6e 27 74 20 65 6e |re just |isn't en|
|00001a50| 6f 75 67 68 20 74 69 6d | 65 20 74 6f 20 70 6c 61 |ough tim|e to pla|
|00001a60| 79 20 61 6c 6c 20 74 68 | 61 74 20 73 6f 75 6e 64 |y all th|at sound|
|00001a70| 2e 20 20 4c 69 74 65 72 | 61 6c 6c 79 2c 20 77 65 |. Liter|ally, we|
|00001a80| 20 27 77 61 6e 74 27 20 | 74 6f 00 06 00 01 86 4a | 'want' |to.....J|
|00001a90| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 06 ee 02 03 |...d..ON|LN.d....|
|00001aa0| 00 2a 02 0f 01 fd 00 2a | 0c 5a 70 6c 61 79 20 61 |.*.....*|.Zplay a|
|00001ab0| 62 6f 75 74 20 74 68 72 | 65 65 20 74 69 6d 65 73 |bout thr|ee times|
|00001ac0| 20 61 73 20 6d 75 63 68 | 20 73 6f 75 6e 64 20 61 | as much| sound a|
|00001ad0| 73 20 77 65 20 72 65 61 | 6c 6c 79 20 64 6f 20 70 |s we rea|lly do p|
|00001ae0| 6c 61 79 2e 20 20 54 68 | 65 20 61 6e 73 77 65 72 |lay. Th|e answer|
|00001af0| 20 77 61 73 20 74 6f 20 | 77 72 69 74 65 20 61 20 | was to |write a |
|00001b00| 76 65 72 79 00 06 00 00 | dc c4 00 a1 00 64 00 10 |very....|.....d..|
|00001b10| 4f 4e 4c 4e 00 64 07 49 | 02 0f 00 2a 02 1b 01 fd |ONLN.d.I|...*....|
|00001b20| 00 2a 0c 5c 66 6c 65 78 | 69 62 6c 65 2c 20 65 76 |.*.\flex|ible, ev|
|00001b30| 65 6e 74 2d 62 61 73 65 | 64 20 73 6f 75 6e 64 20 |ent-base|d sound |
|00001b40| 73 79 73 74 65 6d 2e 20 | 20 57 68 65 6e 20 77 65 |system. | When we|
|00001b50| 20 77 61 6e 74 20 74 6f | 20 70 6c 61 79 20 61 20 | want to| play a |
|00001b60| 73 6f 75 6e 64 2c 20 74 | 68 65 20 73 69 6d 75 6c |sound, t|he simul|
|00001b70| 61 74 69 6f 6e 20 63 6f | 64 65 20 73 65 6e 64 73 |ation co|de sends|
|00001b80| 00 06 00 00 63 80 00 a1 | 00 64 00 10 4f 4e 4c 4e |....c...|.d..ONLN|
|00001b90| 00 64 07 a6 02 1b 00 2a | 02 27 01 fd 00 2a 0c 61 |.d.....*|.'...*.a|
|00001ba0| 61 6e 20 65 76 65 6e 74 | 20 74 6f 20 74 68 65 20 |an event| to the |
|00001bb0| 73 6f 75 6e 64 20 63 6f | 64 65 20 22 49 20 77 6f |sound co|de "I wo|
|00001bc0| 75 6c 64 20 6c 69 6b 65 | 20 74 6f 20 70 6c 61 79 |uld like| to play|
|00001bd0| 20 74 68 69 73 20 73 6f | 75 6e 64 2c 20 61 74 20 | this so|und, at |
|00001be0| 74 68 69 73 20 74 69 6d | 65 22 2e 20 20 54 68 65 |this tim|e". The|
|00001bf0| 20 73 6f 75 6e 64 20 63 | 6f 64 65 20 6c 6f 6f 6b | sound c|ode look|
|00001c00| 73 00 00 06 00 00 6a 79 | 00 a1 00 64 00 10 4f 4e |s.....jy|...d..ON|
|00001c10| 4c 4e 00 64 08 08 02 27 | 00 2a 02 33 01 fd 00 2a |LN.d...'|.*.3...*|
|00001c20| 0c 64 61 74 20 74 68 65 | 20 73 6f 75 6e 64 2c 20 |.dat the| sound, |
|00001c30| 61 6e 64 20 6c 6f 6f 6b | 73 20 61 74 20 77 68 61 |and look|s at wha|
|00001c40| 74 20 69 73 20 63 75 72 | 72 65 6e 74 6c 79 20 70 |t is cur|rently p|
|00001c50| 6c 61 79 69 6e 67 2e 20 | 20 49 66 20 6e 6f 20 73 |laying. | If no s|
|00001c60| 6f 75 6e 64 20 69 73 20 | 70 6c 61 79 69 6e 67 2c |ound is |playing,|
|00001c70| 20 74 68 65 20 73 6f 75 | 6e 64 20 69 73 20 73 74 | the sou|nd is st|
|00001c80| 61 72 74 65 64 2e 00 06 | 00 00 e9 ac 00 a1 00 64 |arted...|.......d|
|00001c90| 00 10 4f 4e 4c 4e 00 64 | 08 6e 02 33 00 2a 02 3f |..ONLN.d|.n.3.*.?|
|00001ca0| 01 fd 00 2a 0c 5f 49 66 | 20 61 20 73 6f 75 6e 64 |...*._If| a sound|
|00001cb0| 20 69 73 20 63 75 72 72 | 65 6e 74 6c 79 20 70 6c | is curr|ently pl|
|00001cc0| 61 79 69 6e 67 2c 20 74 | 68 65 20 6e 65 77 20 73 |aying, t|he new s|
|00001cd0| 6f 75 6e 64 20 69 73 20 | 70 75 74 20 69 6e 20 74 |ound is |put in t|
|00001ce0| 68 65 20 71 75 65 75 65 | 20 6f 66 20 73 6f 75 6e |he queue| of soun|
|00001cf0| 64 73 20 74 6f 20 62 65 | 20 70 6c 61 79 65 64 2e |ds to be| played.|
|00001d00| 20 20 54 68 65 00 00 06 | 00 00 49 77 00 a1 00 64 | The...|..Iw...d|
|00001d10| 00 10 4f 4e 4c 4e 00 64 | 08 ce 02 3f 00 2a 02 4b |..ONLN.d|...?.*.K|
|00001d20| 01 fd 00 2a 0c 5e 73 6f | 75 6e 64 20 63 6f 64 65 |...*.^so|und code|
|00001d30| 20 65 76 61 6c 75 61 74 | 65 73 20 74 68 69 73 20 | evaluat|es this |
|00001d40| 71 75 65 75 65 20 6f 6e | 63 65 20 70 65 72 20 65 |queue on|ce per e|
|00001d50| 78 65 63 75 74 69 6f 6e | 20 6f 66 20 74 68 65 20 |xecution| of the |
|00001d60| 6d 61 69 6e 20 6c 6f 6f | 70 2c 20 61 6e 64 20 65 |main loo|p, and e|
|00001d70| 69 74 68 65 72 20 72 65 | 6d 6f 76 65 73 20 73 6f |ither re|moves so|
|00001d80| 75 6e 64 73 00 06 00 01 | 4f 43 00 a1 00 64 00 10 |unds....|OC...d..|
|00001d90| 4f 4e 4c 4e 00 64 09 2d | 02 4b 00 2a 02 57 01 fd |ONLN.d.-|.K.*.W..|
|00001da0| 00 2a 0c 60 69 6e 20 69 | 74 20 74 68 61 74 20 61 |.*.`in i|t that a|
|00001db0| 72 65 20 74 6f 6f 20 6f | 6c 64 2c 20 6f 72 20 69 |re too o|ld, or i|
|00001dc0| 6e 74 65 72 72 75 70 74 | 73 20 74 68 65 20 63 75 |nterrupt|s the cu|
|00001dd0| 72 72 65 6e 74 20 73 6f | 75 6e 64 73 20 77 69 74 |rrent so|unds wit|
|00001de0| 68 20 6d 6f 72 65 20 69 | 6d 70 6f 72 74 61 6e 74 |h more i|mportant|
|00001df0| 20 6f 6e 65 73 20 28 6f | 72 20 73 74 61 72 74 73 | ones (o|r starts|
|00001e00| 20 6e 65 77 00 06 00 00 | 00 00 00 a1 00 64 00 10 | new....|.....d..|
|00001e10| 4f 4e 4c 4e 00 64 09 8e | 02 57 00 2a 02 63 01 0b |ONLN.d..|.W.*.c..|
|00001e20| 00 2a 0c 2e 6f 6e 65 73 | 20 77 68 65 6e 20 74 68 |.*..ones| when th|
|00001e30| 65 20 6f 6c 64 20 6f 6e | 65 73 20 68 61 76 65 20 |e old on|es have |
|00001e40| 66 69 6e 69 73 68 65 64 | 20 70 6c 61 79 69 6e 67 |finished| playing|
|00001e50| 29 2e 00 06 00 00 97 f7 | 00 a1 00 64 00 10 4f 4e |).......|...d..ON|
|00001e60| 4c 4e 00 64 09 bd 02 6f | 00 2a 02 7b 01 fd 00 2a |LN.d...o|.*.{...*|
|00001e70| 18 5e 41 20 73 6f 75 6e | 64 20 68 61 73 20 74 68 |.^A soun|d has th|
|00001e80| 72 65 65 20 70 72 6f 70 | 65 72 74 69 65 73 3a 20 |ree prop|erties: |
|00001e90| 63 6f 6d 6d 69 74 2c 20 | 70 72 69 6f 72 69 74 79 |commit, |priority|
|00001ea0| 2c 20 61 6e 64 20 70 65 | 72 73 69 73 74 65 6e 63 |, and pe|rsistenc|
|00001eb0| 65 2e 20 20 43 6f 6d 6d | 69 74 20 69 73 20 68 6f |e. Comm|it is ho|
|00001ec0| 77 20 6c 6f 6e 67 20 74 | 68 65 20 73 6f 75 6e 64 |w long t|he sound|
|00001ed0| 00 06 00 00 b2 8d 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00001ee0| 00 64 0a 1c 02 7b 00 2a | 02 87 01 fd 00 2a 0c 61 |.d...{.*|.....*.a|
|00001ef0| 6e 65 65 64 73 20 74 6f | 20 62 65 20 70 6c 61 79 |needs to| be play|
|00001f00| 65 64 20 6f 6e 63 65 20 | 69 74 20 69 73 20 73 74 |ed once |it is st|
|00001f10| 61 72 74 65 64 20 74 6f | 20 6d 61 6b 65 20 61 6e |arted to| make an|
|00001f20| 79 20 73 65 6e 73 65 2e | 20 20 50 72 69 6f 72 69 |y sense.| Priori|
|00001f30| 74 79 20 69 73 20 68 6f | 77 20 69 6d 70 6f 72 74 |ty is ho|w import|
|00001f40| 61 6e 74 20 74 68 65 20 | 73 6f 75 6e 64 20 69 73 |ant the |sound is|
|00001f50| 2e 00 00 06 00 02 39 80 | 00 a1 00 64 00 10 4f 4e |......9.|...d..ON|
|00001f60| 4c 4e 00 64 0a 7f 02 87 | 00 2a 02 93 01 fd 00 2a |LN.d....|.*.....*|
|00001f70| 0c 5f 50 65 72 73 69 73 | 74 65 6e 63 65 20 69 73 |._Persis|tence is|
|00001f80| 20 68 6f 77 20 6c 6f 6e | 67 20 74 68 65 20 73 6f | how lon|g the so|
|00001f90| 75 6e 64 20 73 74 69 6c | 6c 20 6d 61 6b 65 73 20 |und stil|l makes |
|00001fa0| 73 65 6e 73 65 20 66 6f | 72 2c 20 61 66 74 65 72 |sense fo|r, after|
|00001fb0| 20 74 68 65 20 69 6e 69 | 74 69 61 6c 20 72 65 71 | the ini|tial req|
|00001fc0| 75 65 73 74 2e 20 20 41 | 66 74 65 72 20 74 68 69 |uest. A|fter thi|
|00001fd0| 73 00 00 06 00 00 00 00 | 00 a1 00 64 00 10 4f 4e |s.......|...d..ON|
|00001fe0| 4c 4e 00 64 0a df 02 93 | 00 2a 02 9f 01 03 00 2a |LN.d....|.*.....*|
|00001ff0| 0c 2d 61 6d 6f 75 6e 74 | 20 6f 66 20 74 69 6d 65 |.-amount| of time|
|00002000| 2c 20 74 68 65 20 73 6f | 75 6e 64 20 77 69 6c 6c |, the so|und will|
|00002010| 20 6e 6f 74 20 62 65 20 | 70 6c 61 79 65 64 2e 00 | not be |played..|
|00002020| 00 04 03 00 00 0d 00 0a | 00 2a 28 23 4d 61 63 69 |........|.*(#Maci|
|00002030| 6e 74 6f 73 68 20 47 61 | 6d 65 20 44 65 76 65 6c |ntosh Ga|me Devel|
|00002040| 6f 70 65 72 73 27 20 48 | 61 6e 64 62 6f 6f 6b 00 |opers' H|andbook.|
|00002050| 00 28 02 e3 02 00 05 50 | 61 67 65 20 00 15 8c 00 |.(.....P|age ....|
|00002060| 00 29 17 01 31 00 00 20 | 02 d8 00 46 02 d8 02 2f |.)..1.. |...F.../|
|00002070| 00 20 02 da 00 46 02 da | 02 2f 00 ff 06 6e 00 00 |. ...F..|./...n..|
|00002080| 00 00 02 d7 02 23 00 11 | 02 ff 0c 00 ff ff ff ff |.....#..|........|
|00002090| 00 00 00 00 00 00 00 00 | 02 23 00 00 02 d7 00 00 |........|.#......|
|000020a0| 00 00 00 00 00 0c 00 1e | 00 1f 00 01 00 0a 00 00 |........|........|
|000020b0| 00 00 03 18 02 64 00 2c | 00 08 00 14 05 54 69 6d |.....d.,|.....Tim|
|000020c0| 65 73 00 03 00 14 00 0d | 00 0c 00 06 00 00 44 5d |es......|......D]|
|000020d0| 00 2e 00 04 00 00 ff 00 | 00 a1 00 64 00 10 4f 4e |........|...d..ON|
|000020e0| 4c 4e 00 64 00 00 00 29 | 00 2a 00 35 01 fd 00 2b |LN.d...)|.*.5...+|
|000020f0| 48 51 62 54 68 65 73 65 | 20 70 72 6f 70 65 72 74 |HQbThese| propert|
|00002100| 69 65 73 20 61 72 65 20 | 73 65 74 20 66 6f 72 20 |ies are |set for |
|00002110| 75 73 20 61 74 20 63 6f | 6d 70 69 6c 65 2d 74 69 |us at co|mpile-ti|
|00002120| 6d 65 2c 20 62 75 74 20 | 77 65 20 61 6c 6c 6f 77 |me, but |we allow|
|00002130| 20 72 75 6e 2d 74 69 6d | 65 20 6f 76 65 72 72 69 | run-tim|e overri|
|00002140| 64 65 73 2e 20 20 28 63 | 65 72 74 61 69 6e 20 61 |des. (c|ertain a|
|00002150| 6c 61 72 6d 73 00 00 06 | 00 00 5f e0 00 a1 00 64 |larms...|.._....d|
|00002160| 00 10 4f 4e 4c 4e 00 64 | 00 63 00 35 00 2a 00 41 |..ONLN.d|.c.5.*.A|
|00002170| 01 fd 00 2a 0c 61 6d 61 | 79 20 62 65 20 6d 6f 72 |...*.ama|y be mor|
|00002180| 65 20 69 6d 70 6f 72 74 | 61 6e 74 20 75 6e 64 65 |e import|ant unde|
|00002190| 72 20 63 65 72 74 61 69 | 6e 20 20 63 6f 6e 64 69 |r certai|n condi|
|000021a0| 74 69 6f 6e 73 2c 20 65 | 74 63 2e 29 2e 20 20 54 |tions, e|tc.). T|
|000021b0| 68 65 20 65 76 61 6c 75 | 61 74 69 6f 6e 20 6f 66 |he evalu|ation of|
|000021c0| 20 77 68 65 74 68 65 72 | 20 74 6f 20 69 6e 74 65 | whether| to inte|
|000021d0| 72 72 75 70 74 20 61 00 | 00 06 00 00 0c ce 00 a1 |rrupt a.|........|
|000021e0| 00 64 00 10 4f 4e 4c 4e | 00 64 00 c5 00 41 00 2a |.d..ONLN|.d...A.*|
|000021f0| 00 4d 01 fd 00 2a 0c 61 | 73 6f 75 6e 64 20 69 73 |.M...*.a|sound is|
|00002200| 20 73 69 6d 70 6c 65 3a | 20 69 66 20 74 68 65 20 | simple:| if the |
|00002210| 73 6f 75 6e 64 20 70 6c | 61 79 69 6e 67 20 69 73 |sound pl|aying is|
|00002220| 20 70 61 73 74 20 74 68 | 65 20 63 6f 6d 6d 69 74 | past th|e commit|
|00002230| 20 73 74 61 67 65 20 28 | 69 74 20 68 61 73 20 70 | stage (|it has p|
|00002240| 6c 61 79 65 64 20 6c 6f | 6e 67 20 65 6e 6f 75 67 |layed lo|ng enoug|
|00002250| 68 20 74 6f 20 6d 61 6b | 65 00 00 06 00 01 99 78 |h to mak|e......x|
|00002260| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 01 27 00 4d |...d..ON|LN.d.'.M|
|00002270| 00 2a 00 59 01 fd 00 2a | 0c 60 73 65 6e 73 65 29 |.*.Y...*|.`sense)|
|00002280| 2c 20 61 6e 64 20 74 68 | 65 72 65 20 69 73 20 61 |, and th|ere is a|
|00002290| 20 73 6f 75 6e 64 20 69 | 6e 20 74 68 65 20 71 75 | sound i|n the qu|
|000022a0| 65 75 65 20 74 68 61 74 | 20 68 61 73 6e 27 74 20 |eue that| hasn't |
|000022b0| 65 78 70 69 72 65 64 20 | 79 65 74 20 61 6e 64 20 |expired |yet and |
|000022c0| 69 73 20 6f 66 20 68 69 | 67 68 65 72 20 70 72 69 |is of hi|gher pri|
|000022d0| 6f 72 69 74 79 2c 20 74 | 68 65 00 06 00 00 f0 0f |ority, t|he......|
|000022e0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 01 88 00 59 |...d..ON|LN.d...Y|
|000022f0| 00 2a 00 65 01 fd 00 2a | 0c 5e 63 75 72 72 65 6e |.*.e...*|.^curren|
|00002300| 74 20 73 6f 75 6e 64 20 | 69 73 20 69 6e 74 65 72 |t sound |is inter|
|00002310| 72 75 70 74 65 64 2c 20 | 61 6e 64 20 74 68 65 20 |rupted, |and the |
|00002320| 6e 65 77 20 73 6f 75 6e | 64 20 69 73 20 70 6c 61 |new soun|d is pla|
|00002330| 79 65 64 2e 20 20 53 6f | 75 6e 64 73 20 61 72 65 |yed. So|unds are|
|00002340| 20 6b 69 63 6b 65 64 20 | 6f 75 74 20 6f 66 20 74 | kicked |out of t|
|00002350| 68 65 20 71 75 65 75 65 | 00 06 00 00 3d 0e 00 a1 |he queue|....=...|
|00002360| 00 64 00 10 4f 4e 4c 4e | 00 64 01 e7 00 65 00 2a |.d..ONLN|.d...e.*|
|00002370| 00 71 01 fd 00 2a 0c 62 | 77 68 65 6e 20 74 68 65 |.q...*.b|when the|
|00002380| 79 20 72 75 6e 20 70 61 | 73 74 20 74 68 65 69 72 |y run pa|st their|
|00002390| 20 70 65 72 73 69 73 74 | 65 6e 63 65 20 74 69 6d | persist|ence tim|
|000023a0| 65 2e 20 20 49 66 20 74 | 77 6f 20 73 6f 75 6e 64 |e. If t|wo sound|
|000023b0| 73 20 69 6e 20 74 68 65 | 20 71 75 65 75 65 20 68 |s in the| queue h|
|000023c0| 61 76 65 20 74 68 65 20 | 73 61 6d 65 20 70 72 69 |ave the |same pri|
|000023d0| 6f 72 69 74 79 2c 20 74 | 68 65 00 06 00 00 66 4a |ority, t|he....fJ|
|000023e0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 02 4a 00 71 |...d..ON|LN.d.J.q|
|000023f0| 00 2a 00 7d 01 fd 00 2a | 0c 64 6f 6e 65 20 77 69 |.*.}...*|.done wi|
|00002400| 74 68 20 74 68 65 20 70 | 6f 73 74 69 6e 67 20 69 |th the p|osting i|
|00002410| 73 20 74 61 6b 65 6e 20 | 66 69 72 73 74 2c 20 61 |s taken |first, a|
|00002420| 6c 74 68 6f 75 67 68 20 | 74 68 69 73 20 69 73 20 |lthough |this is |
|00002430| 61 72 62 69 74 72 61 72 | 79 20 2d 20 79 6f 75 20 |arbitrar|y - you |
|00002440| 63 61 6e 20 61 6c 73 6f | 20 74 61 6b 65 20 74 68 |can also| take th|
|00002450| 65 20 6f 6e 65 20 77 68 | 6f 20 77 69 6c 6c 00 06 |e one wh|o will..|
|00002460| 00 00 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00002470| 02 af 00 7d 00 2a 00 89 | 00 fb 00 2a 0c 2d 65 78 |...}.*..|...*.-ex|
|00002480| 70 69 72 65 20 66 69 72 | 73 74 20 28 77 68 69 63 |pire fir|st (whic|
|00002490| 68 20 69 73 20 75 73 75 | 61 6c 6c 79 20 74 68 65 |h is usu|ally the|
|000024a0| 20 73 61 6d 65 20 6f 6e | 65 29 2e 00 00 06 00 00 | same on|e)......|
|000024b0| f3 0e 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 02 dd |.....d..|ONLN.d..|
|000024c0| 00 95 00 2a 00 a1 01 fd | 00 2a 18 60 54 68 69 73 |...*....|.*.`This|
|000024d0| 20 73 65 65 6d 73 20 74 | 6f 20 77 6f 72 6b 20 70 | seems t|o work p|
|000024e0| 72 65 74 74 79 20 77 65 | 6c 6c 20 2d 20 74 68 65 |retty we|ll - the|
|000024f0| 20 73 6f 75 6e 64 20 63 | 6f 64 65 20 64 6f 65 73 | sound c|ode does|
|00002500| 6e 27 74 20 73 74 61 72 | 74 2d 61 6e 64 2d 73 74 |n't star|t-and-st|
|00002510| 6f 70 20 61 20 6c 6f 74 | 2c 20 6e 6f 72 20 64 6f |op a lot|, nor do|
|00002520| 65 73 20 69 74 20 72 75 | 6e 20 6f 6e 00 06 00 00 |es it ru|n on....|
|00002530| b4 0e 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 03 3e |.....d..|ONLN.d.>|
|00002540| 00 a1 00 2a 00 ad 01 fd | 00 2a 0c 62 77 69 74 68 |...*....|.*.bwith|
|00002550| 20 61 20 6c 61 72 67 65 | 20 71 75 65 75 65 20 6f | a large| queue o|
|00002560| 66 20 73 6f 75 6e 64 73 | 20 6c 6f 6e 67 20 61 66 |f sounds| long af|
|00002570| 74 65 72 20 61 20 70 61 | 72 74 69 63 75 6c 61 72 |ter a pa|rticular|
|00002580| 6c 79 20 68 65 61 74 65 | 64 20 6d 65 6c 65 65 2c |ly heate|d melee,|
|00002590| 20 61 6e 64 20 69 74 20 | 69 73 20 70 72 65 74 74 | and it |is prett|
|000025a0| 79 20 65 61 73 79 20 74 | 6f 20 74 75 6e 65 00 06 |y easy t|o tune..|
|000025b0| 00 00 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|000025c0| 03 a1 00 ad 00 2a 00 b9 | 01 a1 00 2a 0c 52 74 68 |.....*..|...*.Rth|
|000025d0| 65 20 70 72 69 6f 72 69 | 74 69 65 73 20 73 6f 20 |e priori|ties so |
|000025e0| 74 68 61 74 20 79 6f 75 | 20 77 69 6e 64 20 75 70 |that you| wind up|
|000025f0| 20 6c 69 73 74 65 6e 69 | 6e 67 20 74 6f 20 74 68 | listeni|ng to th|
|00002600| 65 20 72 69 67 68 74 20 | 74 68 69 6e 67 73 20 6d |e right |things m|
|00002610| 6f 73 74 20 6f 66 20 74 | 68 65 20 74 69 6d 65 2e |ost of t|he time.|
|00002620| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 03 f4 00 c5 |...d..ON|LN.d....|
|00002630| 00 2a 00 d1 01 c1 00 2a | 18 52 4f 6e 20 74 68 65 |.*.....*|.ROn the|
|00002640| 20 61 74 74 61 63 68 65 | 64 20 70 61 67 65 20 49 | attache|d page I|
|00002650| 20 68 61 76 65 20 77 72 | 69 74 74 65 6e 20 73 6f | have wr|itten so|
|00002660| 6d 65 20 73 61 6d 70 6c | 65 20 63 6f 64 65 20 66 |me sampl|e code f|
|00002670| 6f 72 20 65 76 65 6e 74 | 2d 62 61 73 65 64 20 73 |or event|-based s|
|00002680| 6f 75 6e 64 20 65 76 65 | 6e 74 73 2e 00 04 03 00 |ound eve|nts.....|
|00002690| 00 0d 00 0a 00 28 02 e3 | 00 48 23 4d 61 63 69 6e |.....(..|.H#Macin|
|000026a0| 74 6f 73 68 20 47 61 6d | 65 20 44 65 76 65 6c 6f |tosh Gam|e Develo|
|000026b0| 70 65 72 73 27 20 48 61 | 6e 64 62 6f 6f 6b 00 28 |pers' Ha|ndbook.(|
|000026c0| 02 e3 02 00 05 50 61 67 | 65 20 00 15 8c 00 00 29 |.....Pag|e .....)|
|000026d0| 17 01 32 00 00 20 02 d8 | 00 46 02 d8 02 2f 00 20 |..2.. ..|.F.../. |
|000026e0| 02 da 00 46 02 da 02 2f | 00 ff 00 00 00 00 00 00 |...F.../|........|
|000026f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002700| 00 00 01 00 00 00 03 3c | 00 00 02 3c 00 00 01 22 |.......<|...<..."|
|00002710| 20 65 76 65 6e 74 73 2e | 00 04 03 00 00 0d 00 0a | events.|........|
|00002720| 00 28 02 e3 00 48 23 4d | 61 63 69 6e 74 6f 73 68 |.(...H#M|acintosh|
|00002730| 16 44 65 76 65 6c 6f 70 | 65 72 20 54 69 70 73 20 |.Develop|er Tips |
|00002740| 2d 20 53 6f 75 6e 64 72 | 02 00 00 00 4f 4e 4c 4e |- Soundr|....ONLN|
|00002750| 00 00 4f 4e 4c 4e 48 4c | 58 32 01 00 00 10 00 9f |..ONLNHL|X2......|
|00002760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002770| 00 00 a7 fc 26 b0 00 00 | 26 6a 00 00 04 5e 53 43 |....&...|&j...^SC|
|00002780| 43 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 ff ff |C....d..|ONLN.d..|
|00002790| 00 00 00 00 00 00 00 00 | 00 28 02 c3 00 5a 48 3b |........|.(...ZH;|
|000027a0| 50 72 6f 63 65 73 73 20 | 61 6c 6c 20 74 68 65 20 |Process |all the |
|000027b0| 53 43 43 20 64 61 74 61 | 20 6f 6e 20 74 68 65 20 |SCC data| on the |
|000027c0| 73 74 61 63 6b 20 61 73 | 20 69 66 20 69 74 20 77 |stack as| if it w|
|000027d0| 65 72 65 20 72 65 61 64 | 20 69 6e 20 6e 6f 72 6d |ere read| in norm|
|000027e0| 61 6c 6c 79 20 62 79 00 | 00 a1 00 64 00 10 4f 4e |ally by.|...d..ON|
|000027f0| 4c 4e 00 64 ff ff 00 00 | 00 00 00 00 00 00 00 2a |LN.d....|.......*|
|00002800| 00 00 00 20 00 00 0f 54 | 00 00 10 a8 00 00 00 00 |... ...T|........|
|00002810| 00 00 0b 0b 00 00 1f fc | 00 00 06 6e 00 00 0b 0d |........|...n....|
|00002820| 00 00 0f 52 00 00 00 52 | 00 00 01 00 00 00 01 00 |...R...R|........|
|00002830| 00 00 00 00 00 00 00 1e | 00 32 41 0c 0a a8 00 00 |........|.2A.....|
|00002840| 00 1c 00 1e ff ff 00 0a | 00 28 02 e3 00 00 00 00 |........|.(......|
|00002850| 00 00 00 40 00 31 bc c0 | 00 22 00 28 00 22 00 28 |...@.1..|.".(.".(|
|00002860| 00 00 00 30 00 00 80 28 | 00 00 00 00 00 00 0f 54 |...0...(|.......T|
|00002870| 00 00 0f 54 00 00 17 16 | 00 02 00 00 00 1a 00 05 |...T....|........|
|00002880| 00 01 00 02 00 00 00 00 | 02 d7 02 23 00 00 0f 54 |........|...#...T|
|00002890| 00 00 17 16 00 00 00 00 | 00 00 00 00 00 00 00 02 |........|........|
|000028a0| 00 00 00 00 00 d8 00 01 | 00 00 00 00 ff ff 00 02 |........|........|
|000028b0| 00 00 00 01 ff ff 00 03 | 00 00 00 02 ff ff 00 04 |........|........|
|000028c0| 00 00 00 03 ff ff 00 05 | 00 00 00 04 ff ff 00 06 |........|........|
|000028d0| 00 00 00 05 ff ff 00 07 | 00 00 00 06 ff ff 00 08 |........|........|
|000028e0| 00 00 00 07 ff ff 00 09 | 00 00 00 08 ff ff 00 0a |........|........|
|000028f0| 00 00 00 09 ff ff 00 0b | 00 00 00 0a ff ff 00 0c |........|........|
|00002900| 00 00 00 0b ff ff 00 0d | 00 00 00 0c ff ff 00 0e |........|........|
|00002910| 00 00 00 0d ff ff 00 0f | 00 00 00 0e ff ff 00 10 |........|........|
|00002920| 00 00 00 0f ff ff 00 11 | 00 00 00 10 ff ff 00 12 |........|........|
|00002930| 00 00 00 11 ff ff 00 13 | 00 00 00 12 ff ff 00 14 |........|........|
|00002940| 00 00 00 13 ff ff 00 15 | 00 00 00 14 ff ff 00 16 |........|........|
|00002950| 00 00 00 15 ff ff 00 17 | 00 00 00 16 ff ff 00 18 |........|........|
|00002960| 00 00 00 17 ff ff 00 19 | 00 00 00 18 ff ff 00 1a |........|........|
|00002970| 00 00 00 19 ff ff ff ff | 00 00 00 1a ff ff 00 00 |........|........|
|00002980| 00 3e 00 1b 07 53 79 6d | 62 6f 6c 73 01 41 01 42 |.>...Sym|bols.A.B|
|00002990| 01 43 01 44 01 45 01 46 | 01 47 01 48 01 49 01 4a |.C.D.E.F|.G.H.I.J|
|000029a0| 01 4b 01 4c 01 4d 01 4e | 01 4f 01 50 01 51 01 52 |.K.L.M.N|.O.P.Q.R|
|000029b0| 01 53 01 54 01 55 01 56 | 01 57 01 58 01 59 01 5a |.S.T.U.V|.W.X.Y.Z|
|000029c0| 00 00 00 00 00 00 00 30 | 00 00 00 00 00 00 00 21 |.......0|.......!|
|000029d0| 00 00 00 40 00 00 01 14 | 00 00 02 ab 00 00 03 6c |...@....|.......l|
|000029e0| 00 00 03 84 00 00 05 cc | 00 00 09 bd 00 00 0b 0d |........|........|
|000029f0| 00 00 0d ea 00 00 0f 01 | 00 00 00 08 00 00 00 01 |........|........|
|00002a00| 00 02 00 01 00 00 00 20 | 00 00 00 14 00 14 00 0a |....... |........|
|00002a10| 00 00 00 14 00 14 00 0c | 00 00 00 14 00 14 00 0e |........|........|
|00002a20| 00 00 00 14 00 14 00 24 | 00 00 00 08 00 01 05 54 |.......$|.......T|
|00002a30| 69 6d 65 73 00 00 00 04 | 00 00 ff ff 00 00 01 00 |imes....|........|
|00002a40| 00 00 03 3c 00 00 02 3c | 00 00 01 22 00 32 41 0c |...<...<|...".2A.|
|00002a50| 0a a8 00 00 00 1c 01 22 | 00 0c 70 61 67 65 00 00 |......."|..page..|
|00002a60| 00 6a 63 68 70 74 00 00 | 00 76 62 6f 6f 6b 00 00 |.jchpt..|.vbook..|
|00002a70| 00 82 54 4f 43 20 00 00 | 00 8e 54 4f 43 23 00 00 |..TOC ..|..TOC#..|
|00002a80| 00 9a 49 44 58 20 00 00 | 00 a6 49 44 58 23 00 00 |..IDX ..|..IDX#..|
|00002a90| 00 b2 49 44 58 50 00 00 | 00 be 50 41 52 41 00 00 |..IDXP..|..PARA..|
|00002aa0| 00 ca 46 4f 4c 4f 00 00 | 00 d6 44 43 46 4e 00 00 |..FOLO..|..DCFN..|
|00002ab0| 00 e2 44 43 46 23 00 00 | 00 ee 46 4f 4c 53 00 00 |..DCF#..|..FOLS..|
|00002ac0| 00 fa 03 e8 ff ff 00 00 | 00 00 00 32 3c 34 03 e8 |........|...2<4..|
|00002ad0| ff ff 00 00 00 24 00 32 | 3b f8 03 e8 ff ff 00 00 |.....$.2|;.......|
|00002ae0| 00 7a 00 32 3b 78 03 e8 | ff ff 00 00 00 98 00 00 |.z.2;x..|........|
|00002af0| 00 00 03 e8 ff ff 00 00 | 00 9c 00 00 00 00 03 e8 |........|........|
|00002b00| ff ff 00 00 00 a2 00 00 | 00 00 03 e8 ff ff 00 00 |........|........|
|00002b10| 01 7e 00 00 00 00 03 e8 | ff ff 00 00 01 c0 00 00 |.~......|........|
|00002b20| 00 00 03 e8 ff ff 00 00 | 01 c4 00 32 3b 28 03 e8 |........|...2;(..|
|00002b30| ff ff 00 00 01 f8 00 32 | 3b 88 03 e8 ff ff 00 00 |.......2|;.......|
|00002b40| 02 04 00 32 3b 1c 03 e8 | ff ff 00 00 02 28 00 32 |...2;...|.....(.2|
|00002b50| 3b 24 03 e8 ff ff 00 00 | 02 34 00 32 3b 2c 00 00 |;$......|.4.2;,..|
|00002b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+